Skip to content

Conversation

dominikschubert
Copy link
Member

@dominikschubert dominikschubert commented Jan 31, 2023

Generalizes our "fetch archive content via URL & mount it somewhere" feature.

We can now use LOCALSTACK_CODE_ARCHIVES with a json value of the following format:

[
  {
    "url": "https://example.com/mycodearchive.zip",
    "target_path": "/var/somewhere"
  },
 // ... more fetch & mounting entries
]

For each entry it will fetch the file at the url (expected to be a zip package) and extract it to the target_path.

@dominikschubert dominikschubert self-assigned this Jan 31, 2023
Copy link
Member

@dfangl dfangl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, at least the parts I didn't write :)

@dominikschubert dominikschubert merged commit db1cead into localstack Feb 1, 2023
@dominikschubert dominikschubert deleted the feat_generic-code-archive-download branch February 1, 2023 07:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants